package cac.fenjian.resource.workbinMaterialMaintain.dao;

import com.github.pagehelper.Page;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;

public interface workbinMaterialMaintainDao {
    /*缓存料箱物料信息维护查询*/
    public Page<HashMap> workbinMaterialMaintainSearch(@Param("bean") HashMap map, @Param("orderBy") String orderBy, @Param("keyWords")String keyWords);
    /*缓存料箱物料信息维护新增*/
    public int workbinMaterialMaintainInsert(@Param("bean") HashMap map);
    /*缓存料箱物料信息维护修改*/
    public int workbinMaterialMaintainUpdate(@Param("bean") HashMap map);
    /*缓存料箱物料信息维护删除*/
    public int workbinMaterialMaintainDelete(String msWorkbinRuleId);
    /*缓存料箱物料信息维护通过id查找*/
    public HashMap workbinMaterialMaintainFindById(String msWorkbinRuleId);
    /*查询已有缓存料箱编码*/
    public HashMap workbinFindByWorkbinCode(String workbinCode);
    /*查询已有的缓存箱编码有没有对应的缓存箱名称*/
    public HashMap workbinFindByWorkbinName(String workbinCode);
    //xiaojian 5-19 查询当前最大组号
    HashMap queryMaxGroup();

    int queryWorkbinRuleItemExists(@Param("map") HashMap map);
}
